<?php require('connections/con_gl.php'); ?>
<?php
session_start();
cekAkses($_SESSION[akses],"L-8");
mysql_select_db($database_con_gl, $con_gl);
?>
<script type="text/javascript" src="js/ajax_data.js"></script>
<h1>STOK KENDARAAN CABANG</h1>
<p>Menampilkan data unit sesuai cabang</p>
<!-- Added by suwondo -->
Area : <input type="hidden" name="area" id="area" />
<input type="text" name="txtarea" id="txtarea" size="28" readonly style="background-color:#fff;border:1px solid #999; height:16px;" onclick="NewWindow('index.php?component=area&amp;task=list&amp;open=window','name','825','450','yes');return false" placeholder="(Semua Area)" />&nbsp;&nbsp;&nbsp;
<!-- Added by suwondo -->
<input type="hidden" name="cabang" id="cabang" />
<input type="hidden" name="txtcabang" id="txtcabang" />
<input type="button" value="Cetak" onclick="javascript: 
kirimRequest('components/unit_cabang/isi.php', 'area='+document.getElementById('area').value, 'hasil', 'div'); " />
<div id="hasil"></div>